package eliauk.fun.flowabledemo.service;
 
import org.flowable.engine.*;
import org.flowable.task.service.HistoricTaskService;
import org.flowable.variable.service.HistoricVariableService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
 
/**
 * 工作流服务的工厂类 被其他类 所继承
 * 这里使用受保护的 就是可以被所继承的类使用
 */
@Component
public class FlowServiceFactory {
 
 
    @Autowired
    protected IdentityService identityService;
 
    @Autowired
    protected ManagementService managementService;
 
    @Autowired
    protected TaskService taskService;
 
    @Autowired
    protected ProcessEngine processEngine;
 
    @Autowired
    protected RuntimeService runtimeService;
 
    @Autowired
    protected RepositoryService repositoryService;
 
    @Autowired
    protected HistoryService historyService;
 
}